﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucInsertInfo.ascx.cs" Inherits="Admin_ucControl_ucInsertInfo" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<table width="100%">
    <tr>
        <td valign="top">
            <asp:Panel ID="Panel1" runat="server" >
                <table style="width: 100%">
                <tr>
                <th>Ngôn ngữ</th>
                <td>
                    <asp:DropDownList ID="drLang" runat="server">
                    <asp:ListItem Value="1" Text="VietNames"></asp:ListItem>
                    <asp:ListItem Value="2" Text ="English"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                </tr>
                    <tr>
                        <th style="width: 150px">
                            Tiêu đề nội dung :
                        </th>
                        <td>
                            <asp:TextBox ID="txtInforTitle" runat="server" CssClass="inp-form"></asp:TextBox>
                            &nbsp;<asp:RequiredFieldValidator ID="reqCatename" runat="server" ControlToValidate="txtInforTitle"
                                Text="*" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator></td>
                                    
                    </tr>
                    <tr>
                        <th>
                            Nội dung :
                        </th>
                        <td>
                          <%--  <cc1:Editor ID="editInfo" runat="server" />--%>
                            <FCKeditorV2:FCKeditor ID="editInfo" runat="server" BasePath="~/fckeditor/" Height="340px">
                            </FCKeditorV2:FCKeditor>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="editInfo"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Hình thức nào:
                        </th>
                        <td>
                            <asp:DropDownList ID="drmenu" runat="server" AutoPostBack="true" 
                                onselectedindexchanged="drmenu_SelectedIndexChanged">
                           
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            Menu con nào :  
                        </th>
                        <td>
                            <asp:DropDownList ID="drMenuItem" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="btAdd" runat="server" Text="Save" OnClick="btAdd_Click" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
        <%--<td >
            <asp:GridView ID="grdCate" runat="server" CellPadding="3" AutoGenerateColumns="False"
                AllowPaging="True" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
                BorderWidth="1px" OnPageIndexChanging="grdCate_PageIndexChanging1"
                ShowFooter="True" Width="550px" PageSize="4">
                <RowStyle ForeColor="#000066"/>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" Height="35px" />
                
                <Columns>
                    <asp:TemplateField HeaderText="STT">
                        <ControlStyle Height="22px" />
                        <ItemStyle HorizontalAlign="Center" Width="30px" />
                        <ItemTemplate>
                            <asp:Label ID="STT" runat="server" Text="<%# ((grdCate.PageIndex * grdCate.PageSize) + grdCate.Rows.Count + 1)%>" /></ItemTemplate>
                    </asp:TemplateField>
                 
                    <asp:HyperLinkField DataTextField="CateName" DataNavigateUrlFormatString="~/Admin/ListCategories.aspx?id={0}"
                        HeaderText="Tên loại sản phẩm" SortExpression="CateName" DataNavigateUrlFields="CateID">
                        <ItemStyle Width="150px" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="CateDescription" HeaderText="Mô tả loại sản phẩm" SortExpression="CateDescription" />
                    <asp:ImageField HeaderText="Hình ảnh" DataImageUrlField="ImageURL" DataImageUrlFormatString="~/Admin/images/Items/{0}">
                        <ControlStyle Height="80px" Width="100px" />
                    </asp:ImageField>
                </Columns>
            </asp:GridView>
        </td>--%>
    </tr>
</table>